<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
    <form>
    <fieldset style="width: 25%;">
        <legend>注册表单</legend>
        <table>
            <tr>
                <td>用户名</td>
                <td><input type="text" name="" id="" required></td>
            </tr>
            <tr>
                <td>密码</td>
                <td><input type="password" name="" id="" required></td>
            </tr>
            <tr>
                <td>性别</td>
                <td><input type="radio" name="sex" id="" value="男"><label for="">男</label>&nbsp;&nbsp;<input type="radio" name="sex" value="女">女</td>
            </tr>
            <tr>
                <td>爱好</td>
                <td><input type="checkbox" name="instr" id="i1"><label for="i1">篮球</label>
                    <input type="checkbox" name="instr" id="i2"><label for="i2">足球</label>
                    <input type="checkbox" name="instr" id="i3"><label for="i3">看电影</label>
                    <input type="checkbox" name="instr" id="i4"><label for="i4">敲代码</label>
                </td>
            </tr>
            <tr>
                <td>生日</td>
                <td><input type="date" name="" id=""></td>
            </tr>
            <tr>
                <td>年龄</td>
                <td><input type="number" name="" id="" max="120" min="1" value="18">岁</td>
            </tr>
            <tr>
                <td><input type="submit" value="提交"></td>
                <td><input type="reset" value="重置"></td>
            </tr>
        </table>
    </fieldset>
</form>
</body>
</html>